package com.love.marriage.identityVerification.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  身份认证表类
 * author:       alex
 * createDate: 2024-10-13 09:15:21
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("identity_verification_t")
@Schema(description = "身份认证表")
public class IdentityVerification extends BaseEntity<IdentityVerification>{

    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "姓名", type = "String", implementation = String.class)
    @TableField("`name`")
    private String name;

    @Schema(description = "身份证号", type = "String", implementation = String.class)
    @TableField("id_card_number")
    private String idCardNumber;

    @Schema(description = "认证后的编码", type = "String", implementation = String.class)
    @TableField("verification_code")
    private String verificationCode;

    @Schema(description = "认证后的信息", type = "String", implementation = String.class)
    @TableField("verification_info")
    private String verificationInfo;

}
